<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>EricDingle.com</title>
		<link type="text/css" href="/lib/all.css" rel="stylesheet"/>
		<link type="text/css" href="css/main.css" rel="stylesheet"/>
		<? if ($css_files) foreach ($css_files as $css_file) { ?>
		<link type="text/css" href="<?=$css_file;?>" rel="stylesheet"/>
		<? } ?>
		<script type="text/javascript" src="/lib/all-min.js"></script>
		<? if ($js_files) foreach ($js_files as $js_file) { ?>
		<script type="text/javascript" src="<?=$js_file;?>"></script>
		<? } ?>
	</head>
	<body>
		<div id="headerbar">
			<div id="header">
				<div id="name">EricDingle</div>
				<div id="quote">I don't know how to put this, but I'm kind of a big dingle.</div>
				<ul id="nav" class="clear">
					<?
					foreach ($tabs as $tab) {
						if (!$tab["requiresLogin"] || $isLoggedIn) {
					?>
					<li><a <?if ($tabID == $tab["tabID"]) echo " class=\"selected\"";?> href="<?=$tab["href"]?>"><?=$tab["title"]?></a></li>
					<?
						}
					}
					?>
				</ul>
			</div>
		</div>
